[XEND] Wait sufficient time for memory to balloon out before creating a new domain.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 25 May 2006 20:41:04 +0000 (21:41 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 25 May 2006 20:41:04 +0000 (21:41 +0100)
commit22490ab62b89a176001679234d64be669bf95e41
treec839f123d249f852bc57f6d0fad5103f1b29a004
parentf7040135b3142daa2b636ae1ae3d0c3b45c45dbf
[XEND] Wait sufficient time for memory to balloon out before creating a new domain.

On the ES7000 when Dom0 boots up with all of system memory and you try
to bring up a DomU with more than 2GB of memory, xend times out before
the memory is freed causing the domain not to be created. This patch
increases the timeout depending on the amount of memory that needs to be
freed. It also places a cap on the sleep time so that it does not grow
without a limit. This fixes bug# 650

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=3D650

Signed-off-by: Aravindh Puthiyaparambil
<aravindh.puthiyaparambil@unisys.com>
tools/python/xen/xend/balloon.py